﻿@{
    Layout = null;
}

<!DOCTYPE html>
@model ElingOA6_Admin_DSJCJ.Model.Task
<html>
<head>
       <title>@ElingOA6_Admin_DSJCJ.Common.GlobalConstant.CONSTRING_SYSTITLE</title>
        @if (false)
    {
        <script src="../../../../Scripts/jquery-vsdoc.js" type="text/javascript"></script>
        <script src="../../../../Scripts/ASPxScriptIntelliSense.js" type="text/javascript"></script>
    }
    <link href="@Url.Content("~/Content/Site.css", true)" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery.min.js", true)" type="text/javascript"></script>
    <script src="@Url.Content("~/Common/GetRootPath.ashx", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/FloatDiv.js", true)" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/regex.js", true)" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/PageCommon.js", true)" type="text/javascript"></script>

    @Html.DevExpress().GetStyleSheets(
        new StyleSheet { ExtensionType = ExtensionType.ListBox }
    )
    @Html.DevExpress().GetScripts(
         new Script { ExtensionType = ExtensionType.ListBox }
    )
        @Html.DevExpress().GetStyleSheets(

        new StyleSheet { ExtensionType = ExtensionType.ListBox, Theme = DevExpressHelper.Theme },
        new StyleSheet { ExtensionType = ExtensionType.GridView, Theme = DevExpressHelper.Theme }
)


<script>

    $(document).ready(function () {
        $("#toolMenu").smartFloat();
    });

    function GoToTask() {
        var url = rootPath + "/Admin/TaskManager/TaskEdit?taskID=" + $("#hdId").val();
        var rs = window.open(url);
    }

    function MenuTop_emClick(source, e) {
        switch (e.item.name) {
            case "btnCancel":
                {
                    window.location.href = rootPath + "/Admin/FrontShow/TaskShow";
                    break;
                }
        }
    }
   

</script>
</head>
<body style="font-size:12px">
<br />
<br />
    <TABLE cellSpacing=0 cellPadding=0 width=100% bgColor=#ffffff border=0>
  <TBODY>
    <TR>
      <TD><TABLE width=728 border=0 align="center" cellPadding=0 
      cellSpacing=0 
      style="BORDER-RIGHT: #b9b9b9 1px solid; BORDER-TOP: #b9b9b9 1px solid; MARGIN: 0px auto; BORDER-LEFT: #b9b9b9 1px solid; BORDER-BOTTOM: #b9b9b9 1px solid">
          <TBODY>
            <TR>
              <TD><TABLE cellSpacing=0 cellPadding=0 width="100%" align=center 
            border=0>
                  <TBODY>
                    <TR>
                      <TD height=6 colspan="2" background="@Url.Content("~/Content/images/red_color1.gif")" ><IMG 
                  height=1 src="@Url.Content("~/Content/images/red_spacer.gif")" width=1></TD>
                    </TR>
                    <TR>
                      <TD 
                height=40 
                style="BACKGROUND: url(@Url.Content("~/Content/images/red_bg_m_nav.gif")) repeat-x; PADDING-TOP: 5px">
                          <SPAN 
                  style="FONT-WEIGHT: bold; FONT-SIZE: 16px">&nbsp;@ViewData["title"]  明细</SPAN></TD>
                      <TD 
                style="BACKGROUND: url(@Url.Content("~/Content/images/red_bg_m_nav.gif")) repeat-x; PADDING-TOP: 5px"><center>
                        
                      </center>
                      </TD>
                    </TR>
                    <TR>
                      <TD colspan="2"><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                  background="@Url.Content("~/Content/images/red_line_er_middle.gif")" border=0>
                          <TBODY>
                            <TR>
                              <TD>&nbsp;</TD>
                              <TD width=11><IMG height=18 alt="" 
                        src="@Url.Content("~/Content/images/red_line_er_keep.gif")" width=11></TD>
                              <TD width=10>&nbsp;</TD>
                              <TD width=11><IMG height=18 alt="" 
                        src="@Url.Content("~/Content/images/red_line_er_keep.gif")"  width=11></TD>
                              <TD width=550>&nbsp;</TD>
                              <TD width=11><IMG height=18 alt="" 
                        src="@Url.Content("~/Content/images/red_line_er_keep.gif")"  width=11></TD>
                              <TD width=10>&nbsp;</TD>
                              <TD width=11><IMG height=18 alt="" 
                        src="@Url.Content("~/Content/images/red_line_er_keep.gif")" width=11></TD>
                              <TD>&nbsp;</TD>
                            </TR>
                          </TBODY>
                        </TABLE></TD>
                    </TR>
                    <TR>
                      <TD colspan="2">&nbsp;</TD>
                    </TR>
                    <TR>
                      <TD colspan="2"><TABLE width=95% height=25 border=0 align="center" cellPadding=0 
                  cellSpacing=0
                  background="@Url.Content("~/Content/images/red_color3.gif")" class=cs_C3_ctitle style="MARGIN: 0px auto">
                          <TBODY>
                            <TR>
                              <TD>&nbsp;</TD>
                              <TD width="80" nowrap>责任科室：</TD>
                              <TD nowrap><strong>  @Html.DevExpress().Label(settings => { settings.Text = Model.FDeptName; }).GetHtml()</strong></TD>
                              <TD width="80" nowrap>&nbsp;登记时间：</TD>
                              <TD nowrap><strong>@Html.DevExpress().Label(settings => { settings.Text = Model.FInsDateStr; }).GetHtml()  </strong></TD>
                              <TD width="120" nowrap>&nbsp;要求完成时间：</TD>
                              <TD nowrap><strong> @Html.DevExpress().Label(settings => { settings.Text = Model.FEndDateStr; }).GetHtml()</strong></TD>
                              <TD width="60" nowrap>&nbsp;分值：</TD>
                              <TD nowrap><strong> @Html.DevExpress().Label(settings => { settings.Text = Model.FScore.ToString(); }).GetHtml()</strong></TD>
                              <TD nowrap>&nbsp;</TD>
                            </TR>
                          </TBODY>
                        </TABLE></TD>
                    </TR>
                    <TR>
                      <TD colspan="2">&nbsp;</TD>
                    </TR>
                  </TBODY>
                </TABLE>
                <TABLE class=cs_C3_content style="MARGIN: 0px auto" height=25 
            cellSpacing=0 cellPadding=0 width=660 align=center border=0>
                  <TBODY>
                    <TR>
                      <TD id=idc_text 
                  style="COLOR: #656565; LINE-HEIGHT: 1.5"><span style="FONT-WEIGHT: bold; FONT-SIZE: 16px">@Model.FContent</span></TD>
                    </TR>
                    <TR>
                      <TD style="FONT-SIZE: 14px"></TD>
                    </TR>
                    <TR>
                      <TD style="FONT-SIZE: 14px"><!----></TD>
                    </TR>
                  </TBODY>
                </TABLE>
                <TABLE style="MARGIN: 10px 0px" cellSpacing=0 cellPadding=0 
            width="100%" background="@Url.Content("~/Content/images/red_line_er_middle.gif")"
            border=0>
                  <TBODY>
                    <TR>
                      <TD>&nbsp;</TD>
                      <TD width=11><IMG height=18 alt="" 
                  src="@Url.Content("~/Content/images/red_line_er_keep.gif")" width=11></TD>
                      <TD width=10>&nbsp;</TD>
                      <TD width=11><IMG height=18 alt="" 
                  src="@Url.Content("~/Content/images/red_line_er_keep.gif")" width=11></TD>
                      <TD width=550>&nbsp;</TD>
                      <TD width=11><IMG height=18 alt="" 
                  src="@Url.Content("~/Content/images/red_line_er_keep.gif")" width=11></TD>
                      <TD width=10>&nbsp;</TD>
                      <TD width=11><IMG height=18 alt="" 
                  src="@Url.Content("~/Content/images/red_line_er_keep.gif")" width=11></TD>
                      <TD>&nbsp;</TD>
                    </TR>
                  </TBODY>
                </TABLE>
                <TABLE style="MARGIN: 0px auto" width="100%"  cellSpacing=0 cellPadding=0 
            align=center border=0>
                  <TBODY>
                    <TR>
                      <TD vAlign=top style=" width:100%" height=155><DIV style=" width:100%">
                          <DIV class=cat_head_4><IMG alt="" 
                  src="@Url.Content("~/Content/images/red_icon_21.gif")"> <SPAN>完成情况</SPAN> </DIV>
                        </DIV>
                        <DIV style=" width:100%">
                          <DIV class=cat_content_2>
                            <table width="100%" height="100" border="0" cellpadding="5" cellspacing="0">
                                       @foreach (ElingOA6_Admin_DSJCJ.Model.TaskDo TaskDomodel in ViewData["TaskDoList"] as List<ElingOA6_Admin_DSJCJ.Model.TaskDo>)
            {
                <tr>
                <td style=" font-size:12px">       
                   
                     <strong> [@TaskDomodel.FStatusStr]@TaskDomodel.FInsDate] </strong> @TaskDomodel.FNote 
              </td>
                </tr>
            }
            <tr>
            <td>
            <font color=red>@Html.DevExpress().Label(settings => { settings.Text = Model.FStatusStr; }).GetHtml()</font>
            </td>
            </tr>
           @foreach (ElingOA6_Admin_DSJCJ.Model.TaskAttach TaskAttachmodel in ViewData["TaskAttachList"] as List<ElingOA6_Admin_DSJCJ.Model.TaskAttach>)
           {
                <tr>
                <td>
              @Html.DevExpress().Label(settings => { settings.Text = "相关资料:"; }).GetHtml() <a href="@TaskAttachmodel.FAttachSvrFileName">@TaskAttachmodel.FAttachOldFileName</a>
              </td>
                </tr>
           }
           <tr>
           <td align="center">
           @if ((bool)ViewData["IsShow"])
           {
            <input type="button" onclick="GoToTask()" title="处理" value="处理" />
           }
           @Html.Hidden("hdId",ViewData["ID"])
           </td>
           </tr>
                            </table>
                          </DIV>
                        </DIV></TD>

                    </TR>
                  </TBODY>
                </TABLE>
                <DIV class=line_transparence style="HEIGHT: 18px"></DIV></TD>
            </TR>
          </TBODY>
        </TABLE></TD>
    </TR>
  </TBODY>
</TABLE>
</body>
</html>
